home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
shadez.swf
/
scripts
/
Local
/
Draw
/
CBitmapStripStack.as
< prev
next >
Wrap
Text File
|
2011-08-19
|
998b
|
40 lines
package Local.Draw
{
import flash.display.BitmapData;
import flash.geom.Point;
import flash.geom.Rectangle;
public class CBitmapStripStack
{
public var mSRect:Rectangle;
public var mDRect:Rectangle;
public var mBitmapStrip:CBitmapStrip;
public function CBitmapStripStack(param1:CBitmapStrip, param2:Rectangle, param3:Point)
{
if(true)
{
super();
if(true)
{
mBitmapStrip = param1;
mSRect = param2;
}
mDRect = new Rectangle(param2.x + param3.x,param2.y + param3.y + param1.mDisplacement,param2.width,param2.height);
}
}
public function Render(param1:BitmapData) : void
{
if(true)
{
param1.copyPixels(mBitmapStrip.mBMD,mSRect,mDRect.topLeft,null,null,!mBitmapStrip.mBackground);
}
}
}
}